//
//  NavgationView.h
//  qunfa
//
//  Created by Admin on 2017/8/10.
//  Copyright © 2017年 cuixiaocun. All rights reserved.
//

#import <UIKit/UIKit.h>
//添加代理
@protocol CXCNavgationDelegate <NSObject>
-(void)retunButtonAction;//返回事件
-(void)rightButtonAction;//右按钮
@end

@interface NavgationView : UIView
- (id)initWithFrame:(CGRect)frame with:(NSString *)navName isBackBtn:(NSString *)isBackBtn rightBtnName:(NSString*)BtnString;
@property(nonatomic,strong)UIButton *backBtn;
@property(nonatomic,strong)UILabel*navLabel;
@property(nonatomic,strong)UIButton*rightBtn;
@property(assign,nonatomic)id<CXCNavgationDelegate>delegate;


@end
